package appapi.dao;

import appapi.Request.Basic.EquipMaintenanItemReq;
import appapi.Request.Basic.EquipSelfchecjItemReq;
import appapi.entity.basic.EquipmaintenanitemEntity;
import appapi.entity.basic.EquipselfcheckitemEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 请求对象
 *
 * @author luocheng
 * @version 1.0
 * @date 2023/05/27 13:42
 */
@Mapper
public interface EquipselfcheckitemMapper {
    int deleteByPrimaryKey(Long selfItemId);

    int insert(EquipselfcheckitemEntity record);

    int insertSelective(EquipselfcheckitemEntity record);

    EquipselfcheckitemEntity selectByPrimaryKey(Long selfItemId);

    List<EquipselfcheckitemEntity> queryList(EquipSelfchecjItemReq req);

    int count(EquipselfcheckitemEntity record);

    int updateByPrimaryKeySelective(EquipselfcheckitemEntity record);

    int updateByPrimaryKey(EquipselfcheckitemEntity record);

    int insertBatch(List<EquipselfcheckitemEntity> recordList);

    int deleteBatch(@Param("itemIds") List<Long> itemIds);
}